package mspbots.cw.business.core.worktypes;

import lombok.*;
import mspbots.cw.business.core.BaseTenantEntity;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * @author Jay.Yang
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Table("connectwise_worktypes")
public class Worktypes extends BaseTenantEntity {

    private Long cwId;
    private String name;
    private String billTime;
    private String rateType;
    private Double rate;
    private Double hoursMin;
    private Double hoursMax;
    private Double roundBillHoursTo;
    private String accrualType;
    private Boolean inactiveFlag;
    private Boolean overallDefaultFlag;
    private Boolean activityDefaultFlag;
    private Boolean utilizationFlag;
    private Double costMultiplier;
    private String integrationXref;
    private Boolean addAllAgreementExclusions;
    private LocalDateTime lastUpdated;
    private LocalDateTime syncTime;
}
